<form id="vacation_post" method="post">
<div class="t_2">
     <div class="fl">信息录入</div>
     <div class="fr add_form"><a href="javascript:;" id="add_table"></a></div>
</div>
<div class="order_show" id="info_form">
     <table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
     	<tr>
			<td class="td1">借款金额：</td>
			<td><?=$this->total_loal?></td>
		</tr>
		<tr>
			<td class="td1">申请金额：</td>
			<td><input type="text" name="price" /></td>
		</tr>
		<tr>
			<td class="td1">备注说明：</td>
			<td><textarea name="mark"></textarea></td>
		</tr>
		<tr>
			<td class="td1">下级操作员列表：</td>
			<td>
				<select name="next_uid">
					<option>请选择</option>
					<?php foreach((array)$this->users as $user): ?>
					<option value="<?=$user['uid']?>"><?=$user['username']?>[<?=$user['nickname']?>]</option>
					<?php endforeach; ?>
				</select>
			</td>
		</tr>
		<tr>
			<td class="td1" style="text-align:center" colspan="2"><input type="submit" value="提交" /></td>
		</tr>
     </table>
</div>
</form>
<script>
$(function(){
    $('#vacation_post').submit(function(){
		$.post(location.href,$(this).serialize(),function(data)
		{			
			alert(data.message);
			if(data.state == 1) location.href = "?app=loan&mod=my";
		},'json');
        return false;
    });
});
</script>